package code.event {

import com.adobe.cairngorm.control.CairngormEvent;

public class SearchEvent extends CairngormEvent {
	
	public static const SEARCH: String = "search";
	
	private var _searchTerm: String;
	
	public function SearchEvent(searchTerm: String) {
		super(SEARCH);
		
		_searchTerm = searchTerm;
	}
	
	public function get searchTerm(): String {
		return _searchTerm;
	}
	
	public override function toString(): String {
		return "SearchEvent[searchTerm="+searchTerm+"]";
	}
	
}
}